<?php
/**
 * Holds class Cache_Key
 *
 * @author daantimmer
 *
 * @package Library
 * @subpackage Cache
 */

/**
 * Key generator used for caching data
 *
 * @author daantimmer
 */
class Cache_Key{
	/**
	 * @var string
	 */
	private $password;
	
	/**
	 * @var string
	 */
	private $key;
	
	/**
	 * Constructor
	 *
	 * @param string $password
	 * @param string $key
	 * @return void
	 */
	public function __construct($password,$key){
		$this->password = $password;
		$this->key = $key;
	}
	
	/**
	 * Returns $this->key
	 *
	 * @return string
	 */
	public function getKey(){
		return $this->key;
	}
	
	/**
	 * Sets $key
	 *
	 * @param string $key
	 * @return void
	 */
	public function setKey($key){
		$this->key = $key;
	}
	
	/**
	 * Returns $this->password
	 *
	 * @return string
	 */
	public function getPassword(){
		return $this->password;
	}
	
	/**
	 * Sets $password
	 *
	 * @param string $password
	 * @return void
	 */
	public function setPassword($password){
		$this->password = $password;
	}
}